# PowerShell脚本：设置环境变量并运行xueli.py测试

Write-Host "设置环境变量并运行xueli.py测试..." -ForegroundColor Green

# 设置环境变量
$env:DASHSCOPE_API_KEY = "sk-2c036d80d14a443f8769e072bb09a2e1"
$env:MY_XXW_BGCX_API_KEY = "Ii875XV8f7BomLGhgg1obwMD1Whbcr"

Write-Host "环境变量设置完成！" -ForegroundColor Yellow
Write-Host "DASHSCOPE_API_KEY: $($env:DASHSCOPE_API_KEY.Substring(0,10))..." -ForegroundColor Cyan
Write-Host "MY_XXW_BGCX_API_KEY: $($env:MY_XXW_BGCX_API_KEY.Substring(0,10))..." -ForegroundColor Cyan

Write-Host ""
Write-Host "运行xueli.py测试..." -ForegroundColor Green
Write-Host "=" * 50 -ForegroundColor Gray

# 运行xueli.py
python ai_resume_generator\xueli.py

Write-Host ""
Write-Host "测试完成！" -ForegroundColor Green
Read-Host "按任意键继续..."
